package com.xc.erp.modules.erp.domain.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName(value = "jsh_material_category")
public class JshMaterialCategory {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private Short categoryLevel;

    private Long parentId;

    private String sort;

    private String serialNo;

    private String remark;

    private Date createTime;

    private Date updateTime;

    private Long tenantId;

    @TableLogic
    private String deleteFlag;

    @TableField(exist = false)
    List<JshMaterialCategory> children;
}
